<template>
  <a-button size="middle" type="primary" @click="clickFn">
    <template #icon><plus-outlined /></template>
    <slot></slot>
  </a-button>
</template>

<script lang="ts" setup>
import { PlusOutlined } from '@ant-design/icons-vue'
const emits = defineEmits(['click'])

const clickFn = (e) => {
  emits('click', e)
}
</script>

<style lang="less"></style>
